package com.linpq.road.domain;

import java.util.Date;
import com.linpq.common.annotation.Excel;
import com.linpq.common.core.domain.DataEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 rd_import_log
 *
 * @author linpq
 * @date 2021-08-13
 */
public class RdImportLog extends DataEntity<RdImportLog> {
private static final long serialVersionUID=1L;

    /** 导入用户 */
    @Excel(name = "导入用户")
    private String importUser;
    /** 导入时间 */
    @Excel(name = "导入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date importTime;
    /** 导入类型 */
    @Excel(name = "导入类型")
    private String importType;
    /** 文件名 */
    @Excel(name = "文件名")
    private String fileName;
    /** 导入结果(0:失败,>0 更改条数) */
    @Excel(name = "导入结果")
    private Integer result;
    /** 导入状态(0:未导入,1:已导入) */
    @Excel(name = "导入状态")
    private Integer importState;
    /** 所属路段 */
    @Excel(name = "所属路段")
    private String roadSectionId;
    /** 上/下行(0:上,1:下) */
    @Excel(name = "上/下行")
    private Integer upOrDown;
    /** 车道 */
    @Excel(name = "车道")
    private Integer xlane;
    private RdRoadSection rdRoadSection;

    public RdRoadSection getRdRoadSection() {
        return rdRoadSection;
    }

    public void setRdRoadSection(RdRoadSection rdRoadSection) {
        this.rdRoadSection = rdRoadSection;
    }

    public void setImportUser(String importUser){
        this.importUser = importUser;
    }

    public String getImportUser(){
        return importUser;
    }
    public void setImportTime(Date importTime){
        this.importTime = importTime;
    }

    public Date getImportTime(){
        return importTime;
    }
    public void setImportType(String importType){
        this.importType = importType;
    }

    public String getImportType(){
        return importType;
    }
    public void setFileName(String fileName){
        this.fileName = fileName;
    }

    public String getFileName(){
        return fileName;
    }
    public void setResult(Integer result){
        this.result = result;
    }

    public Integer getResult(){
        return result;
    }
    public void setImportState(Integer importState){
        this.importState = importState;
    }

    public Integer getImportState(){
        return importState;
    }
    public void setRoadSectionId(String roadSectionId){
        this.roadSectionId = roadSectionId;
    }

    public String getRoadSectionId(){
        return roadSectionId;
    }
    public void setUpOrDown(Integer upOrDown){
        this.upOrDown = upOrDown;
    }

    public Integer getUpOrDown(){
        return upOrDown;
    }
    public void setXlane(Integer xlane){
        this.xlane = xlane;
    }

    public Integer getXlane(){
        return xlane;
    }

@Override
public String toString(){
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                                .append("id",getId())
                                .append("importUser",getImportUser())
                                .append("importTime",getImportTime())
                                .append("importType",getImportType())
                                .append("fileName",getFileName())
                                .append("result",getResult())
                                .append("importState",getImportState())
                                .append("roadSectionId",getRoadSectionId())
                                .append("upOrDown",getUpOrDown())
                                .append("xlane",getXlane())
                .toString();
        }
}
